package com.xuanxu.blogs.module.user.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * @author XuanXu
 * @version 1.0
 * @date 2024-08-20 16:48
 */
@Component
@ConfigurationProperties(prefix = "xuanxu.auth")
@Data
public class AuthProperties {
    /**
     * 认证持续时间 s，默认 3600s
     */
    private Long periodValidity = 3600L;

}
